home *** CD-ROM | disk | FTP | other *** search
- dnl Process this file with autoconf to produce a configure script.
- AC_INIT(src/todo/lists.c)
-
- dnl Checks for programs.
- AC_PROG_CC
- AC_PROG_MAKE_SET
- AC_PROG_RANLIB
-
- dnl Checks for libraries.
- LIBS="-L/usr/X11/lib $LIBS"
- AC_CHECK_LIB(X11, XInitThreads,,AC_MSG_ERROR([*** X is not installed. Please install it first ***]))
- AC_CHECK_LIB(dl, main, LIBS="$LIBS -ldl",AC_MSG_ERROR([*** libdl is not installed ***]))
- AC_CHECK_LIB(m, main, LIBS="$LIBS -lm",AC_MSG_ERROR([*** libm is not installed ***]))
- AC_CHECK_LIB(pisock,dlp_WriteRecord,LIBS="$LIBS -lpisock",AC_MSG_ERROR([*** libpisock is not installed. Please install it first ***]))
- AC_CHECK_LIB(tcl8.0,Tcl_Init,LIBS="$LIBS -ltcl8.0",AC_MSG_ERROR([*** Tcl is not installed. Please install it first ***]))
- AC_CHECK_LIB(tk8.0,Tk_Init,LIBS="$LIBS -ltk8.0",AC_MSG_ERROR([*** Tk is not installed. Please install it first ***]))
-
- AC_SUBST(LIBS)
-
- dnl Checks for header files.
- AC_HEADER_STDC
- AC_CHECK_HEADERS(limits.h unistd.h pwd.h)
-
- dnl Checks for typedefs, structures, and compiler characteristics.
- AC_STRUCT_TM
-
- dnl Checks for library functions.
- AC_TYPE_SIGNAL
- AC_FUNC_STRFTIME
- AC_CHECK_FUNCS(mkdir mktime strdup)
-
- AC_OUTPUT(src/memo/Makefile src/todo/Makefile src/libjetsync/Makefile src/Conduits/Makefile src/Makefile Makefile src/addr/Makefile)
-